From 1cb4c8b976f6fe180eee46af08b900681934d368 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Tue, 10 Jun 2025 18:31:12 +0200 Subject: [PATCH] luci-app-rp-pppoe-server: change interface handler to NetworkSelect Closes #7695 Signed-off-by: Paul Donald --- .../luci-static/resources/view/pppoe/rp-pppoe-relay.js | 6 +++--- .../luci-static/resources/view/pppoe/rp-pppoe-server.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js index 9e22e49a7b..293e26ede7 100644 --- a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js +++ b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js @@ -24,21 +24,21 @@ return view.extend({ o = s.option(form.Flag, 'enabled', _('Enabled')); - o = s.option(widgets.DeviceSelect, 'server_interface', _('Server Interface'), _('Interface on which to listen. Only PPPoE servers may be connected to this interface.')); + o = s.option(widgets.NetworkSelect, 'server_interface', _('Server Interface'), _('Interface on which to listen. Only PPPoE servers may be connected to this interface.')); o.multiple = true; o.optional = true; o.nocreate = true; o.rmempty = true; o.depends({ enabled: '1' }); - o = s.option(widgets.DeviceSelect, 'client_interface', _('Client Interface'), _('Interface from which to relay. Only PPPoE clients may be connected to this interface.')); + o = s.option(widgets.NetworkSelect, 'client_interface', _('Client Interface'), _('Interface from which to relay. Only PPPoE clients may be connected to this interface.')); o.multiple = true; o.optional = true; o.nocreate = true; o.rmempty = true; o.depends({ enabled: '1' }); - o = s.option(widgets.DeviceSelect, 'both_interface', _('Both Interface'), _('Interface upon which to listen and to relay. Both PPPoE clients and servers may be connected to this interface.')); + o = s.option(widgets.NetworkSelect, 'both_interface', _('Both Interface'), _('Interface upon which to listen and to relay. Both PPPoE clients and servers may be connected to this interface.')); o.multiple = true; o.optional = true; o.nocreate = true; diff --git a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js index 4243a04282..64577b0187 100644 --- a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js +++ b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js @@ -24,7 +24,7 @@ return view.extend({ o = s.option(form.Flag, 'enabled', _('Enabled')); - o = s.option(widgets.DeviceSelect, 'interface', _('Interface'), _('Interface on which to listen.')); + o = s.option(widgets.NetworkSelect, 'interface', _('Interface'), _('Interface on which to listen.')); o.optional = true; o.nocreate = true; o.rmempty = true; -- 2.30.2